package com.ruoyi.system.service.impl;

import com.ruoyi.common.core.domain.entity.TrainDeptAuthorizationLog;
import com.ruoyi.system.mapper.TrainDeptAuthorizationLogMapper;
import com.ruoyi.system.service.TrainDeptAuthorizationLogService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * 学员授权记录 服务实现
 *
 * @author ruoyi
 */
@Service
public class TrainDeptAuthorizationLogServiceImpl implements TrainDeptAuthorizationLogService {

    @Autowired
    TrainDeptAuthorizationLogMapper trainDeptAuthorizationLogMapper;

    /**
     * 添加学员授权记录
     *
     * @author ruoyi
     */
    @Override
    public void insertLogById(TrainDeptAuthorizationLog log) {
        trainDeptAuthorizationLogMapper.insertLogById(log);
    }
}
